package com.hospital.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;


import java.util.Date;

@Data
@ColumnWidth(25)
public class EmployeeExportDto {
    private Integer id;
    /** 姓名 */
    @ExcelProperty(value = "姓名")
    private String name;
    private Integer sex;
    private String phone;
    @DateTimeFormat("yyyy年MM月dd日")
    private Date birthday;
    @DateTimeFormat("yyyy年MM月dd日 HH:mm:ss")
    private Date create_time;
    private Integer grade_id;
    private Integer job_id;
    private Integer dp_id;
    private String pic;

    private Double total_wages;
}
